﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OSA.Policlinic.UI.WFAplication.DoctorWCF.RegistryServiceReference
{
    public partial class Employee : BusinessObjectBase
    {
        private string _surname;
        private string _name;
        private string _middlename;
        private string _post;
        private Address _Address;

        public Employee()
        {
            this._Address = default(Address);
        }

        public Employee(int id, bool isDeleted, string surname, string name, string middlename, string post, Address address)
            :base(id, isDeleted)
        {
            _surname = surname;
            _name = name;
            _middlename = middlename;
            _post = post;
            _Address = address;
        }

        public Employee(string surname, string name, string middlename, string post, Address address)
        {
            _surname = surname;
            _name = name;
            _middlename = middlename;
            _post = post;
            _Address = address;
        }

       


       

        


        public override string ToString()
        {
            return Surname + " " + Name + " " + Middlename;
        }

       
    }
	
}
